﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using KaraokeManagementDAO;
using KaraokeManagementDTO;

namespace KaraokeManagementBUS
{
    public class HangHoaBUS
    {
        private HangHoaDAO dao = new HangHoaDAO();
        public List<HangHoaDTO> layDanhSachHangHoa()
        {
            return dao.layDanhSachHangHoa();
        }

        public HangHoaDTO layThongTinHangHoa(int MaHangHoa)
        {
            return dao.layThongTinHangHoa(MaHangHoa);
        }

        public Boolean themHangHoa(HangHoaDTO dto)
        {
            return dao.themHangHoa(dto);
        }

        public Boolean xoaHangHoa(int MaHangHoa)
        {
            return dao.xoaHangHoa(MaHangHoa);
        }

        public Boolean capNhatHangHoa(HangHoaDTO dto)
        {
            return dao.capNhatHangHoa(dto);
        }
    }
}
